javascript backticks and if statements

49

javascript backticks and if statements -

`${result['color'] ? 'color exists!' : 'color 5 does not exist!'}`

Comments

Submit
0 Comments